﻿
namespace Mbs
{
    /// <summary>
    /// 组件生命周期监听器
    /// </summary>
    public interface ILifecycleListner
    {
        /// <summary>
        /// 监听组件被创建
        /// </summary>
        /// <param name="o">组件</param>
        void OnCreated(object o);

        /// <summary>
        /// 监听组件被释放
        /// </summary>
        /// <param name="o">组件</param>
        void OnDisposed(object o);
    }
}
